import Vue from 'vue'
import Vuex from 'vuex'
Vue.use(Vuex)
const store = new Vuex.Store({
  state: {
    songobj: {},                                           //存储当前登录信息
    Tabs: '待办'                                        //表格状态
  },
  mutations: {
    SongSET(state,obj){                                 //设置当前播放歌曲信息
      state.songobj = obj
    }
  },
  actions:{
    // incrementmain(context,name){
    //   context.commit("increment",name)
    // }
  }
})
export default store
